package com.ruoyi.mobile.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author wad
 * @date 2022/5/6 10:31
 * @project RuoYi-YiQing
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Sign {
    private Integer id;
    private String tempRep;
    private String healthColor;
    private String isDanger;
    private String isHealthy;
    private Integer studentId;
    private Integer userId;
    private Integer teacherId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private String nowAddress;
}
